set_project("nvg")
set_version("1.0.0")
set_languages("c99", "cxx11")
add_rules("mode.debug", "mode.release")

target("glad")
  set_targetdir("bin")
  add_includedirs("3rd/glad/include/")
  set_kind("static")
  add_files("3rd/glad/src/*.c")
target_end()

target("nanovg")
  set_targetdir("bin")
  add_includedirs("3rd/nanovg/src/")
  set_kind("static")
  add_files("3rd/nanovg/src/*.c")
target_end()

add_packagedirs("3rd/sdl/pkg")
includes("examples/xmake.lua")